package com.hgxd.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.hgxd.entity.pojo.OnOrOff;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Author: wtf
 * @Description:
 * @Date: 2022/10/20/10:34
 */
@Mapper
public interface OnOrOffMapper extends BaseMapper<OnOrOff> {

    /**
     * 根据柜号查询对应柜体的状态
     *
     * @param cntrNo
     * @return
     */
    List<OnOrOff> getStatusByCntrNo(@Param("cntrNo") String cntrNo);
}
